package org.example.entity.menu;


import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class AllMenu {
    private String id;
    @JsonProperty("pId")
    private Integer pId;
    private String name;
    private boolean open;
    private String iconOpen;
    private String iconClose;
    @JsonProperty("isParent")
    private boolean isParent;
    private String value;
    private Attributes attributes;

    private List<Menu> children;
}
